package cqrtplm.vo;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @description:
 * @author: zhengxiong.jiang
 * @createDate: 2025-07-21
 * @version: 1.0
 */
@Data
public class CrmApiResponseVO<T> implements Serializable {

    private Integer code;

    private String info;

    private List<T> data;

    @Data
    public static class CodeDataVO {
        //crm编码
        private String clientcode;
        //sap编码
        private String sapclientcode;
        //显示字符串
        private String text;
    }

    @Data
    public static class DdDataVO {
        //订单号
        private String VBELN = "";
        //项次号
        private String POSNR = "";
        //客户编号
        private String KUNNR = "";
        //创建人
        private String ZERNAM = "";
        //创建名称
        private String ZNAME = "";
        //订单下单日期
        private String ERDAT = "";
        //终端生产国
        private String ZZDSCG = "";
        //最终销售国
        private String ZZZXSG = "";
        //最终目的地
        private String ZZZMDG = "";
        //运输方式
        private String ZYSFS = "";
        //物料编号
        private String MATNR = "";
        //客户机型
        private String ZKHJX = "";
        //样机类别
        private String ZYJLB = "";
        //是否小批
        private String ZSFXP = "";
        //小批所属行号
        private String ZXPSSHH = "";
        //订单状态
        private Integer ZState;
        //机组订单号
        private String ZJZDD = "";
        //机组订单行号
        private String ZJZDDHH = "";
        //订单数量
        private String GAMNG = "";
        //工厂
        private String WERKS = "";
    }

    @Data
    public static class ClientModelCode {
        //客户编码
        private String ClientCode = "";
        //客户机型
        private String ClientModel = "";
    }

    //样机类型
    @Data
    public static class SysItemDetail {
        private String F_ItemDetailId = "";
        private String F_ItemValue = "";
    }



}
